﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Trans.customer
{
    public partial class Detail_customer : Form
    {
        private int id=0;
        public Detail_customer(int id)
        {
            InitializeComponent();
            this.id = id;
        }

        private void Detail_customer_Load(object sender, EventArgs e)
        {

            if (id > 0)
                vw_customerTableAdapter.FillById(this.dataSet_view.vw_customer, id);
            else
                this.Close();
        }

        private void bt_close_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
